<?php
/**
 * Created by Ling.
 * Created on 2020/8/27 14:02
 * @email: L_ing1992@163.com
 */

namespace App\Http\Validates;


abstract class Validate implements ValidateInterface
{
    protected $rules = [];
    protected $messages = [];

    /**
     * 规则
     * @return array
     */
    public function getRules(): array
    {
        return $this->rules;
    }

    /**
     * 错误信息
     * @return array
     */
    public function getMessages(): array
    {
        return $this->messages;
    }
}
